<template>
  <view class="container">
    <!-- 缺省 - 锁客 -->
    <u-empty v-if="errorInfo?.code == 10017" class="pt-[200rpx]" mode="permission" text="你不是该门店的客户，请前往归属门店答题">
        <view class="text-center text-[#999]">用户ID：{{ errorInfo?.uid }}</view>
    </u-empty>
    <!-- 缺省 - 未加好友 -->
    <u-empty v-if="false" class="pt-[200rpx]" :icon="errorInfo?.image" text="请先添加客服人员后继续参与活动">
        <view class="text-center text-[#999]">用户ID：{{ errorInfo?.uid }}</view>
    </u-empty>
    <!-- 缺省 - 不满足参与条件 -->
    <u-empty v-if="errorInfo?.code == 10015" class="pt-[200rpx]" mode="permission" text="抱歉，您暂不符合活动参与条件～">
        <view class="text-center text-[#999]">用户ID：{{ errorInfo?.uid }}</view>
    </u-empty>
    <!-- 缺省 - 待审核 -->
    <u-empty v-if="errorInfo?.code == 10016" class="pt-[200rpx]" :icon="errorInfo?.image" text="扫码添加客服微信通过审核后，入群观看节目">
        <view class="text-center text-[#999]">用户ID：{{ errorInfo?.uid }}</view>
    </u-empty>
  </view>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { useRoute } from 'vue-router'
const route = useRoute()

const errorInfo = ref<any>(route.query)
</script>


<style scoped lang="scss">
</style>
